<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		
		手机号码： <input type="text" name="phone" value="13926583118" />
		
		<input type="button" id="sendPhone" value="查询" />
		
		<div id="abc">
			
		</div>
	</body>
	
	<script type="text/javascript" src="../../js/jquery-1.4.1.js" ></script>
	
	<script>
		
		$(function(){
			
			var phone  = $('input[name="phone"]').val();
			
			var url='http://api.jisuapi.com/shouji/query?appkey=1bf6ded287baf217&shouji='+phone;
			$.ajax({
				
				'type':'get',
				'url':url,
				'data':{},
				'header': {
					'content-type': 'application/json',
					'Access-Control-Allow-Origin':'*'
				},
				'dataType':'json',
				'success':function(jsonData){
					
					console.log(jsonData);
				}
				
				
			});
		});
		
		
	</script>
</html>
